import React from 'react'
import { Icon } from 'antd-mobile'
import { withRouter } from 'react-router-dom'
function GoBack(props) {
    return (
        <Icon type="left" onClick={()=>props.history.go(-1)} />
    )
}
export default withRouter(GoBack)